<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
	<title>javascript parallel</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<style type="text/css">
	body
	{
		margin:0;
		padding:0;
	}
	</style>
	<script type="text/javascript" src="./1.js">
	</script>
	<script type="text/javascript" src="./2.js">
	</script>
</head>
<body>
<h1>javascript parallel</h1>
<p>1.js延迟5秒，然后alert(1)</p>
<p>2.js直接alert(2)</p>
</body>
</html>